year = input('请输入年份：')
if year.isdigit():
    year = int(year)
    if (not year % 4 and year % 100) or not year % 400:
        print('是闰年！')
    else:
        print('不是闰年！')
else:
    print('请重新输入！')
